<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
    <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
    <script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/world.js"></script>
    <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts-wordcloud.min.js"></script>
    <script type="text/javascript" src="https://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
    <link href="https://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
    <script src="https://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>

</head>
<body>
<div>
    <div class="navbar navbar-default navbar-fixed-top  navbar-inverse">        {# 导航栏 #}
        <a class="navbar-brand" href="#">全球恐怖袭击数据分析网站</a>
        <div class="container">
            <ul class="nav navbar-nav">
                <li class="active"><a href="/people/">死亡人数</a></li>
                <li><a href="/time/">袭击次数</a></li>
                <li><a href="/attack_type/">攻击类型</a></li>
                <li><a href="/weapon/">武器类型</a></li>
                <li><a href="/target/">目标类型</a></li>
                <li><a href="/organization/">恐怖组织竞赛图</a></li>
            </ul>
            <!--右侧侧-->
        </div>
    </div>
</div>
<div id="cff197710d9948f9923807f7f8a827b5" class="chart-container" style="width:900px; height:500px;margin-top: 10%"></div>
<script>
    var chart_cff197710d9948f9923807f7f8a827b5 = echarts.init(
        document.getElementById('cff197710d9948f9923807f7f8a827b5'), 'white', {renderer: 'canvas'});
    var option_cff197710d9948f9923807f7f8a827b5 = {
        "animation": true,
        "animationThreshold": 2000,
        "animationDuration": 1000,
        "animationEasing": "cubicOut",
        "animationDelay": 0,
        "animationDurationUpdate": 300,
        "animationEasingUpdate": "cubicOut",
        "animationDelayUpdate": 0,
        "color": [
            "#c23531",
            "#2f4554",
            "#61a0a8",
            "#d48265",
            "#749f83",
            "#ca8622",
            "#bda29a",
            "#6e7074",
            "#546570",
            "#c4ccd3",
            "#f05b72",
            "#ef5b9c",
            "#f47920",
            "#905a3d",
            "#fab27b",
            "#2a5caa",
            "#444693",
            "#726930",
            "#b2d235",
            "#6d8346",
            "#ac6767",
            "#1d953f",
            "#6950a1",
            "#918597"
        ],
        "series": [
            {
                "type": "map",
                "name": "\u5168\u7403\u5206\u5e03",
                "label": {
                    "show": false,
                    "position": "top",
                    "margin": 8
                },
                "mapType": "world",
                "data": [
                    {
                        "name": "Dominican Republic",
                        "value": 34
                    },
                    {
                        "name": "Philippines",
                        "value": 8410
                    },
                    {
                        "name": "Guatemala",
                        "value": 5034
                    },
                    {
                        "name": "West Germany (FRG)",
                        "value": 97
                    },
                    {
                        "name": "United States",
                        "value": 3836
                    },
                    {
                        "name": "Switzerland",
                        "value": 74
                    },
                    {
                        "name": "Ireland",
                        "value": 107
                    },
                    {
                        "name": "Paraguay",
                        "value": 57
                    },
                    {
                        "name": "Argentina",
                        "value": 487
                    },
                    {
                        "name": "Jordan",
                        "value": 135
                    },
                    {
                        "name": "Brazil",
                        "value": 213
                    },
                    {
                        "name": "United Kingdom",
                        "value": 3411
                    },
                    {
                        "name": "Uruguay",
                        "value": 6
                    },
                    {
                        "name": "Greece",
                        "value": 260
                    },
                    {
                        "name": "Netherlands",
                        "value": 35
                    },
                    {
                        "name": "Canada",
                        "value": 378
                    },
                    {
                        "name": "Pakistan",
                        "value": 24396
                    },
                    {
                        "name": "Iran",
                        "value": 1718
                    },
                    {
                        "name": "Sweden",
                        "value": 22
                    },
                    {
                        "name": "Turkey",
                        "value": 6182
                    },
                    {
                        "name": "Cambodia",
                        "value": 523
                    },
                    {
                        "name": "Israel",
                        "value": 1583
                    },
                    {
                        "name": "Taiwan",
                        "value": 60
                    },
                    {
                        "name": "Egypt",
                        "value": 3954
                    },
                    {
                        "name": "West Bank and Gaza Strip",
                        "value": 1624
                    },
                    {
                        "name": "Italy",
                        "value": 420
                    },
                    {
                        "name": "Austria",
                        "value": 31
                    },
                    {
                        "name": "South Vietnam",
                        "value": 81
                    },
                    {
                        "name": "Colombia",
                        "value": 13644
                    },
                    {
                        "name": "Spain",
                        "value": 1275
                    },
                    {
                        "name": "France",
                        "value": 547
                    },
                    {
                        "name": "Australia",
                        "value": 25
                    },
                    {
                        "name": "Sudan",
                        "value": 3717
                    },
                    {
                        "name": "Cyprus",
                        "value": 45
                    },
                    {
                        "name": "Yugoslavia",
                        "value": 119
                    },
                    {
                        "name": "Zambia",
                        "value": 49
                    },
                    {
                        "name": "Mexico",
                        "value": 803
                    },
                    {
                        "name": "Lebanon",
                        "value": 3884
                    },
                    {
                        "name": "Botswana",
                        "value": 11
                    },
                    {
                        "name": "Ethiopia",
                        "value": 1560
                    },
                    {
                        "name": "Thailand",
                        "value": 2743
                    },
                    {
                        "name": "South Korea",
                        "value": 10
                    },
                    {
                        "name": "Syria",
                        "value": 16667
                    },
                    {
                        "name": "East Germany (GDR)",
                        "value": 2
                    },
                    {
                        "name": "United Arab Emirates",
                        "value": 123
                    },
                    {
                        "name": "India",
                        "value": 19080
                    },
                    {
                        "name": "Kenya",
                        "value": 1882
                    },
                    {
                        "name": "El Salvador",
                        "value": 11322
                    },
                    {
                        "name": "Sri Lanka",
                        "value": 14970
                    },
                    {
                        "name": "Nicaragua",
                        "value": 7414
                    },
                    {
                        "name": "Namibia",
                        "value": 206
                    },
                    {
                        "name": "Nigeria",
                        "value": 25235
                    },
                    {
                        "name": "Japan",
                        "value": 63
                    },
                    {
                        "name": "Portugal",
                        "value": 32
                    },
                    {
                        "name": "Ecuador",
                        "value": 61
                    },
                    {
                        "name": "Barbados",
                        "value": 76
                    },
                    {
                        "name": "South Africa",
                        "value": 2578
                    },
                    {
                        "name": "Iraq",
                        "value": 79733
                    },
                    {
                        "name": "Venezuela",
                        "value": 253
                    },
                    {
                        "name": "Zaire",
                        "value": 154
                    },
                    {
                        "name": "Mauritania",
                        "value": 43
                    },
                    {
                        "name": "Djibouti",
                        "value": 270
                    },
                    {
                        "name": "Indonesia",
                        "value": 1291
                    },
                    {
                        "name": "Malaysia",
                        "value": 155
                    },
                    {
                        "name": "Soviet Union",
                        "value": 90
                    },
                    {
                        "name": "Belgium",
                        "value": 83
                    },
                    {
                        "name": "Rhodesia",
                        "value": 158
                    },
                    {
                        "name": "Kuwait",
                        "value": 61
                    },
                    {
                        "name": "North Yemen",
                        "value": 1
                    },
                    {
                        "name": "Guyana",
                        "value": 41
                    },
                    {
                        "name": "Mozambique",
                        "value": 2729
                    },
                    {
                        "name": "Morocco",
                        "value": 292
                    },
                    {
                        "name": "Myanmar",
                        "value": 1068
                    },
                    {
                        "name": "Jamaica",
                        "value": 37
                    },
                    {
                        "name": "Peru",
                        "value": 11312
                    },
                    {
                        "name": "Afghanistan",
                        "value": 49062
                    },
                    {
                        "name": "Costa Rica",
                        "value": 17
                    },
                    {
                        "name": "Chile",
                        "value": 228
                    },
                    {
                        "name": "Panama",
                        "value": 38
                    },
                    {
                        "name": "Angola",
                        "value": 2583
                    },
                    {
                        "name": "Tanzania",
                        "value": 56
                    },
                    {
                        "name": "Gabon",
                        "value": 6
                    },
                    {
                        "name": "Uganda",
                        "value": 2984
                    },
                    {
                        "name": "Honduras",
                        "value": 299
                    },
                    {
                        "name": "Saudi Arabia",
                        "value": 677
                    },
                    {
                        "name": "Tunisia",
                        "value": 365
                    },
                    {
                        "name": "Bolivia",
                        "value": 48
                    },
                    {
                        "name": "Somalia",
                        "value": 11343
                    },
                    {
                        "name": "Bangladesh",
                        "value": 1117
                    },
                    {
                        "name": "Grenada",
                        "value": 8
                    },
                    {
                        "name": "Zimbabwe",
                        "value": 153
                    },
                    {
                        "name": "Guadeloupe",
                        "value": 8
                    },
                    {
                        "name": "Guinea",
                        "value": 214
                    },
                    {
                        "name": "Central African Republic",
                        "value": 2147
                    },
                    {
                        "name": "Dominica",
                        "value": 3
                    },
                    {
                        "name": "People's Republic of the Congo",
                        "value": 15
                    },
                    {
                        "name": "Qatar",
                        "value": 4
                    },
                    {
                        "name": "Bulgaria",
                        "value": 28
                    },
                    {
                        "name": "Haiti",
                        "value": 336
                    },
                    {
                        "name": "Lesotho",
                        "value": 35
                    },
                    {
                        "name": "French Guiana",
                        "value": 1
                    },
                    {
                        "name": "New Zealand",
                        "value": 1
                    },
                    {
                        "name": "Libya",
                        "value": 2805
                    },
                    {
                        "name": "Burkina Faso",
                        "value": 248
                    },
                    {
                        "name": "New Caledonia",
                        "value": 34
                    },
                    {
                        "name": "Romania",
                        "value": 4
                    },
                    {
                        "name": "Swaziland",
                        "value": 2
                    },
                    {
                        "name": "Niger",
                        "value": 1545
                    },
                    {
                        "name": "Nepal",
                        "value": 1957
                    },
                    {
                        "name": "Denmark",
                        "value": 5
                    },
                    {
                        "name": "Togo",
                        "value": 72
                    },
                    {
                        "name": "Suriname",
                        "value": 29
                    },
                    {
                        "name": "Malta",
                        "value": 4
                    },
                    {
                        "name": "Norway",
                        "value": 79
                    },
                    {
                        "name": "Maldives",
                        "value": 20
                    },
                    {
                        "name": "Senegal",
                        "value": 221
                    },
                    {
                        "name": "Laos",
                        "value": 25
                    },
                    {
                        "name": "Papua New Guinea",
                        "value": 79
                    },
                    {
                        "name": "China",
                        "value": 1006
                    },
                    {
                        "name": "Algeria",
                        "value": 10068
                    },
                    {
                        "name": "Liberia",
                        "value": 176
                    },
                    {
                        "name": "Poland",
                        "value": 9
                    },
                    {
                        "name": "Mali",
                        "value": 1885
                    },
                    {
                        "name": "Germany",
                        "value": 84
                    },
                    {
                        "name": "Singapore",
                        "value": 5
                    },
                    {
                        "name": "Sierra Leone",
                        "value": 819
                    },
                    {
                        "name": "Croatia",
                        "value": 248
                    },
                    {
                        "name": "Cameroon",
                        "value": 2607
                    },
                    {
                        "name": "Czechoslovakia",
                        "value": 1
                    },
                    {
                        "name": "Yemen",
                        "value": 9580
                    },
                    {
                        "name": "Georgia",
                        "value": 279
                    },
                    {
                        "name": "Chad",
                        "value": 985
                    },
                    {
                        "name": "Madagascar",
                        "value": 31
                    },
                    {
                        "name": "Azerbaijan",
                        "value": 194
                    },
                    {
                        "name": "Burundi",
                        "value": 3404
                    },
                    {
                        "name": "Bahrain",
                        "value": 44
                    },
                    {
                        "name": "Russia",
                        "value": 4330
                    },
                    {
                        "name": "Cuba",
                        "value": 8
                    },
                    {
                        "name": "Hong Kong",
                        "value": 4
                    },
                    {
                        "name": "Kazakhstan",
                        "value": 39
                    },
                    {
                        "name": "Fiji",
                        "value": 8
                    },
                    {
                        "name": "Rwanda",
                        "value": 3156
                    },
                    {
                        "name": "Armenia",
                        "value": 37
                    },
                    {
                        "name": "Ivory Coast",
                        "value": 262
                    },
                    {
                        "name": "Albania",
                        "value": 42
                    },
                    {
                        "name": "Ukraine",
                        "value": 2268
                    },
                    {
                        "name": "Bosnia-Herzegovina",
                        "value": 79
                    },
                    {
                        "name": "Moldova",
                        "value": 11
                    },
                    {
                        "name": "Malawi",
                        "value": 33
                    },
                    {
                        "name": "Tajikistan",
                        "value": 313
                    },
                    {
                        "name": "Comoros",
                        "value": 1
                    },
                    {
                        "name": "Belize",
                        "value": 1
                    },
                    {
                        "name": "Republic of the Congo",
                        "value": 182
                    },
                    {
                        "name": "Latvia",
                        "value": 2
                    },
                    {
                        "name": "Ghana",
                        "value": 12
                    },
                    {
                        "name": "Trinidad and Tobago",
                        "value": 6
                    },
                    {
                        "name": "Slovenia",
                        "value": 1
                    },
                    {
                        "name": "Gambia",
                        "value": 13
                    },
                    {
                        "name": "North Korea",
                        "value": 3
                    },
                    {
                        "name": "Czech Republic",
                        "value": 6
                    },
                    {
                        "name": "Slovak Republic",
                        "value": 9
                    },
                    {
                        "name": "Macedonia",
                        "value": 49
                    },
                    {
                        "name": "Estonia",
                        "value": 3
                    },
                    {
                        "name": "Eritrea",
                        "value": 42
                    },
                    {
                        "name": "Hungary",
                        "value": 6
                    },
                    {
                        "name": "Bahamas",
                        "value": 1
                    },
                    {
                        "name": "Macau",
                        "value": 1
                    },
                    {
                        "name": "Lithuania",
                        "value": 1
                    },
                    {
                        "name": "Vietnam",
                        "value": 1
                    },
                    {
                        "name": "Belarus",
                        "value": 14
                    },
                    {
                        "name": "Democratic Republic of the Congo",
                        "value": 5015
                    },
                    {
                        "name": "Uzbekistan",
                        "value": 68
                    },
                    {
                        "name": "Solomon Islands",
                        "value": 4
                    },
                    {
                        "name": "Kosovo",
                        "value": 82
                    },
                    {
                        "name": "Kyrgyzstan",
                        "value": 11
                    },
                    {
                        "name": "St. Lucia",
                        "value": 2
                    },
                    {
                        "name": "Montenegro",
                        "value": 2
                    },
                    {
                        "name": "International",
                        "value": 1
                    },
                    {
                        "name": "East Timor",
                        "value": 8
                    },
                    {
                        "name": "Serbia-Montenegro",
                        "value": 3
                    },
                    {
                        "name": "Guinea-Bissau",
                        "value": 17
                    },
                    {
                        "name": "Bhutan",
                        "value": 9
                    },
                    {
                        "name": "Finland",
                        "value": 11
                    },
                    {
                        "name": "Serbia",
                        "value": 3
                    },
                    {
                        "name": "Equatorial Guinea",
                        "value": 1
                    },
                    {
                        "name": "South Sudan",
                        "value": 2720
                    },
                    {
                        "name": "Turkmenistan",
                        "value": 3
                    }
                ],
                "roam": true,
                "zoom": 1,
                "showLegendSymbol": true,
                "emphasis": {},
                "rippleEffect": {
                    "show": true,
                    "brushType": "stroke",
                    "scale": 2.5,
                    "period": 4
                }
            }
        ],
        "legend": [
            {
                "data": [
                    "\u5168\u7403\u5206\u5e03"
                ],
                "selected": {
                    "\u5168\u7403\u5206\u5e03": true
                },
                "show": true,
                "padding": 5,
                "itemGap": 10,
                "itemWidth": 25,
                "itemHeight": 14
            }
        ],
        "tooltip": {
            "show": true,
            "trigger": "item",
            "triggerOn": "mousemove|click",
            "axisPointer": {
                "type": "line"
            },
            "textStyle": {
                "fontSize": 14
            },
            "borderWidth": 0
        },
        "title": [
            {
                "text": "1970-2018\u5168\u7403\u6b7b\u4ea1\u4eba\u6570\u5206\u5e03",
                "padding": 5,
                "itemGap": 10
            }
        ],
        "visualMap": {
            "show": true,
            "type": "continuous",
            "min": 0,
            "max": 200,
            "inRange": {
                "color": [
                    "#50a3ba",
                    "#eac763",
                    "#d94e5d"
                ]
            },
            "calculable": true,
            "inverse": false,
            "splitNumber": 5,
            "orient": "vertical",
            "showLabel": true,
            "itemWidth": 20,
            "itemHeight": 140,
            "borderWidth": 0
        }
    };
    chart_cff197710d9948f9923807f7f8a827b5.setOption(option_cff197710d9948f9923807f7f8a827b5);
</script>
</body>
</html>
